using Godot;

public partial class TitleMenuController : Control
{
    [Signal] public delegate void GameStartEventHandler();
    [Signal] public delegate void QuitGameEventHandler();

    private void OnStartGameBtnPressed()
    {
        EmitSignal(SignalName.GameStart);
    }

    private void OnQuitGameBtnPressed()
    {
        EmitSignal(SignalName.QuitGame);
    }

    public void OnVisible()
    {
        Visible = true;
    }

    public void UnVisible()
    {
        Visible = false;
    }
}
